package com.cmj.domain;

public class SystemConstants
{
    /**
     *  文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;
    /**
     *  文章是正常分布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;

    /**
     * 友链已通过审核
     */
    public static final int Link_STATUS_PAST = 0;

    /**
     * 友链审核不通过
     */
    public static final int Link_STATUS_Fail = 1;

    /**
     * 友链未审核
     */
    public static final int Link_STATUS_CHECKING = 2;

    /**
     * 评论类型 文章
     */
    public static final int Comment_Type_Article = 0;

    /**
     * 评论类型 友链
     */
    public static final int Comment_Type_Link = 1;

    /**
     * 菜单
     */
    public static final String MENU = "C";

    /**
     * 按钮
     */
    public static final String BUTTON = "F";

    /**
     * 状态正常
     */
    public static final int STATUS_NORMAL = 0;

    /**
     * 逻辑删除状态
     */
    public static final int DEL_FLAG_TRUE = 1;

    /**
     * 逻辑未删除状态
     */
    public static final int DEL_FLAG_FALSE = 0;

    /**
     * 更新失败
     */
    public static final String UPDATE_FAIL = "更新失败，稍后再试！";

    /**
     * 查询失败
     */
    public static final String SELECT_FAIL = "查询失败，稍后再试！";

    /**
     * 删除失败
     */
    public static final String DELETE_FAIL = "删除失败，稍后再试！";

    /**
     * 插入失败
     */
    public static final String INSERT_FAIL = "插入失败，稍后再试！";

    /**
     * 后台用户
     */
    public static final String ADMIN = "1";
}